package com.ihrm.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ihrm.domain.company.CoCompany;
import com.ihrm.domain.company.Department;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;

@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    @Select("select * from co_department")
    List<Department> findAll();
}